package com.module.admin.app.service;

import java.util.List;

import com.module.admin.app.pojo.AppPrj;
import com.system.comm.model.KvEntity;
import com.system.comm.model.Page;
import com.system.handle.model.ResponseFrame;

/**
 * app_prj的Service
 * @author admin
 * @date 2020-12-27 20:12:45
 * @version V1.0.0
 */
public interface AppPrjService {
	
	/**
	 * 保存
	 * @param appPrj
	 * @return
	 */
	public ResponseFrame save(AppPrj appPrj);
	
	/**
	 * 根据aiId获取对象
	 * @param aiId
	 * @return
	 */
	public AppPrj get(String aiId, Integer prjId);

	/**
	 * 分页获取对象
	 * @param appPrj
	 * @return
	 */
	public Page<AppPrj> pageQuery(AppPrj appPrj);
	
	/**
	 * 根据aiId删除对象
	 * @param aiId
	 * @param prjId 
	 * @return
	 */
	public ResponseFrame delete(String aiId, Integer prjId);

	public List<KvEntity> findSearch(String searchString, String aiId);
}